package com.mine.controller.strategy;

/**
 * 实现自定义游戏难度接口
 */
public class Custom implements DifficultyLevel{
    private final int mineAmount;
    private final int maxX;
    private final int maxY;

    public Custom(int mineAmount, int maxX, int maxY){
        this.mineAmount = mineAmount;
        this.maxX = maxX;
        this.maxY = maxY;
    }

    @Override
    public int getMineAmount() {
        return mineAmount;
    }

    @Override
    public int getMaxX() {
        return maxX;
    }

    @Override
    public int getMaxY() {
        return maxY;
    }
}
